﻿using Sx.Mall.WebContract.Dto;
using Mall.Infrastructure.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sx.Mall.WebContract
{
   public interface IMallManagerService
    {
       /// <summary>
       /// 系统人员添加
       /// </summary>
       /// <param name="dto"></param>
       /// <returns></returns>
       CommonResult Add(MallManagerDto dto);

       /// <summary>
       /// 批量删除系统人员
       /// </summary>
       /// <param name="ids"></param>
       /// <returns></returns>
       CommonResult DeleteUser(List<int> ids);

       /// <summary>
       /// 修改系统人员
       /// </summary>
       /// <param name="dto"></param>
       /// <returns></returns>
       CommonResult Update(MallManagerDto dto);

       /// <summary>
       /// 查找系统人员
       /// </summary>
       /// <param name="dto"></param>
       /// <returns></returns>
       PageResult<MallManagerDto> GetList(MallManagerDto dto);
    }
}
